ubg_health_set_render

Syntax:

ubg_health_set_render(id, event)

Arguments:

Argument Name Type Description
idrealid of the healthbar to modify
eventUBG_HEALTH_RENDER_EVENTwhich event to render in

Returns: (real)

Description:

Sets whether to render the health regularly or in the GUI

Example:

ubg_health_set_health_render(healthbar, UBG_HEALTH_RENDER_EVENT.draw_gui); // Set to render in the GUI

Back: Setters
Next: ubg_health_set_visible